package com.xpf.service.status;

import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Description: BMP状态策略
 * <br/>
 * BpmStatusStrategy
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface BpmStatusStrategy {

    /**
     * 状态模型
     *
     * @return 返回工厂
     */
    StatusServiceFactory.StatusModel statusModel();
}

